package com.mojito.learn.business.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mojito.learn.business.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liufq
 * @date 2021/12/23 下午3:36
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user")
public class User extends BaseEntity {

    /**
     * 手机号
     */
    private String mobileNo;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 密码
     */
    private String password;

    /**
     * 证件类型
     */
    private String idCardType;

    /**
     * 证件号
     */
    private String idCardNo;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 性别 {@link SexEnum}
     */
    private Integer sex;
}
